<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//PL" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>MediaFrame Bridge :: {% block extra-title %}{% endblock %}</title>
	
	<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/main.css" />
	<!--[if IE]>
	<style type="text/css">
	    div, img { behavior: url({{ MEDIA_URL }}css/iepngfix.htc) }
	    input.search {width: 178px}
	    hr {height:0}
	</style>
	<![endif]-->
	
	{% block extra-head %}{% endblock %}

        <script src="{{ MEDIA_URL }}js/jquery-1.3.2.min.js" type="text/javascript"></script>
	<script src="{{ MEDIA_URL }}js/main.js" type="text/javascript"></script>
    </head>
    
    <body>
	<div id="page">
	    <div id="page-top">
		<div id="page-top-login">
		    <span>Zalogowany jako <strong>{{ request.user.username }}</strong></span>
		    <a href="#" onmouseover="document.images['help-login'].src='{{ MEDIA_URL }}css/gfx/icons/help-login-hover.gif';" onmouseout="document.images['help-login'].src='{{ MEDIA_URL }}css/gfx/icons/help-login.gif';"><img name="help-login" class="help-login" alt="help" src="{{ MEDIA_URL }}css/gfx/icons/help-login.gif" /></a>
		    <a href="{% url wyloguj %}" onmouseover="document.images['exit-login'].src='{{ MEDIA_URL }}css/gfx/icons/exit-login-hover.gif';" onmouseout="document.images['exit-login'].src='{{ MEDIA_URL }}css/gfx/icons/exit-login.gif';"><img name="exit-login" class="exit-login" alt="exit" src="{{ MEDIA_URL }}css/gfx/icons/exit-login.gif" /></a>
		</div>
		<div id="page-top-search">
		    <span class="search">
			<input id="search" class="search" type="text" name="what" title="Szukana fraza..." />
		    </span>
		    <span class="button-border">
			<input class="search-submit" type="submit" name="search" value="Szukaj" />
		    </span>
		</div>
	    </div>
	    
	    <div id="page-menu">
		<a class="first" href="{% url indeks %}">Pulpit</a>
                <a href="{% url poczta %}">Poczta</a>
                <a href="{% url kalendarz %}">Kalendarz</a>
                <a href="{% url dokumenty %}">Dokumenty</a>
                <a href="{% url indeks %}">Kontakty</a>
                <a href="{% url posty_wszystkie %}">Blog</a>
                <a href="{% url forum %}">Forum</a>
                <a href="{% url indeks %}">Wiki</a>
                <a href="{% url projekty_indeks %}">Projekty</a>
                <a href="{% url konto-edycja %}">Profil</a>
                <a class="last" href="#" onmouseover="document.images['menu-more'].src='{{ MEDIA_URL }}css/gfx/buttons/more-hover.gif';" onmouseout="document.images['menu-more'].src='{{ MEDIA_URL }}css/gfx/buttons/more.gif';"><img id="menu-more" name="menu-more" alt="more" src="{{ MEDIA_URL }}css/gfx/buttons/more.gif" /></a>
            </div>
	    
	    <div id="page-track">
                <span class="color-orange">Twoja pozycja:</span> Pulpit
            </div>
	    
	    {% block message %}
	    {% if session_messages %}<hr />
		<ul class="messages">
		    {% for message in session_messages %}
		      <li>{{ message }}</li>
		    {% endfor %}
		</ul>
	    {% endif %}
	    {% endblock %}
	    
	    <div id="page-content">
		{% block body %}{% endblock %}
	    </div>
	    
	    <div id="footer">
            <div id="footer-content">
                <div id="footer-shortcut">
                    <span class="first">
                        <a class="main" href="{% url indeks %}">Pulpit</a>
                    </span>
                    <span>
                        <a class="main" href="{% url poczta %}">Poczta</a>
                        <a href="#">» odebrane</a>
                        <a href="#">» wysłane</a>
                        <a href="#">» kopie robocze</a>
                    </span>
                    <span>
                        <a class="main" href="{% url kalendarz %}">Kalendarz</a>
                        <a href="#">» lista to-do</a>
                        <a href="#">» moje terminy</a>
                    </span>
                    <span>
                        <a class="main" href="{% url dokumenty %}">Dokumenty</a>
                    </span>
                    <span>
                        <a class="main" href="{% url indeks %}">Kontakty</a>
                    </span>
                    <span>
                        <a class="main" href="{% url posty_wszystkie %}">Blog</a>
                        <a href="#">» archiwum</a>
                    </span>
                    <span>
                        <a class="main" href="{% url forum %}">Forum</a>
                    </span>
                    <span>
                        <a class="main" href="{% url indeks %}">Wiki</a>
                    </span>
                    <span>
                        <a class="main" href="{% url projekty_indeks %}">Projekty</a>
                        <a href="#">» lista projektów</a>
                        <a href="#">» time-line</a>
                    </span>
                    <span>
                        <a class="main" href="{% url indeks %}">Notatki</a>
                    </span>
                </div>
                <div id="footer-copyright">Copyright (c) 2009 SKN MediaFrame</div>
            </div>
	</div>

        {% block js-extra %}
            {% for js in needed_js %}
                <script type="text/javascript" src="{{ js }}"></script>
            {% endfor %}
        {% endblock %}
    </body>
</html>
